local joyex__biyue = fk.CreateSkill {

  name = "joyex__biyue",

  tags = {  },

}



joyex__biyue:addEffect(fk.EventPhaseStart, {
  name = "joyex__biyue",
  anim_type = "drawcard",
  events = {fk.EventPhaseStart},
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(joyex__biyue.name) and player.phase == Player.Finish
  end,
  on_cost = function(self, event, target, player, data)
    return true
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(1 + player:usedSkillTimes("joyex__lijian", Player.HistoryTurn), joyex__biyue.name)
  end,
})

return joyex__biyue